package com.campuscrowdsourcing.server.mapper;

import com.campuscrowdsourcing.server.domain.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xinyuan Zhao
 * @since 2023-03-09
 */
public interface UserMapper extends BaseMapper<User> {
    List<User> getAllByTeamId(Integer id);
    User getByTeamId(Integer id);
}
